<%-- 
    Document   : registro
    Created on : 10-mar-2014, 9:44:46
    Author     : PC
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>www.queterifas.com</title>
        
        <script type="text/javascript">
	function dias(){
		var dias=31;
		document.write("<option>Día</option>")
		for(i=1;i<=dias;i++){
			if(i<10)
			document.write("<option>"+"0"+i+"</option>");
			else
			document.write("<option>"+i+"</option>");
			}
		};
		
	function meses(){
		var meses=["Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre"];
		document.write("<option>Mes</option>");
		for(i=0;i<meses.length;i++){
				document.write("<option>"+meses[i]+"</option>");
			}
		};
		
	function ainos(){
		var aino=1940;
		document.write("<option>Año</option>");
		for(i=new Date().getFullYear();i>=aino;i--){
			document.write("<option>"+i+"</option>");
			}
		};
        </script>
    </head>
    <body>
        <!-- INCLUDE PARA METER EL HEADER -->
        <%@
            include file="includes/header.jsp"
        %>
            <section id="contenedor">
                <form method="POST" action="control.jsp">
                    <input type="text" placeholder="Nombre de Usuario" required/>
                    <input type=""/>
                    <input />
                    <input />
                    <input />
                    <input />
                    <input />
                    <input />
                    <input />
                    
                    <label>Fecha de nacimiento</label><br>
        <select id="dias" name="dia" required>
		<script>
		dias();
		</script>
	</select>
		
        <select id="meses" name="mes" required>
		<script>
		meses();
		</script>
	</select>
	
        <select id="ainos" name="aino" required>
		<script>
		ainos();
		</script>
	</select>
                </form>
            </section>
        <!-- INCLUDE PARA METER EL FOOTER -->
        <%@
            include file="includes/header.jsp"
        %>
    </body>
</html>
